Visual Studio 97
Samples Readme
Home
 
© 1997 Microsoft Corporation

For Microsoft® Visual Studio™ 97, a collection of samples called the Corporate Benefits System is provided. These samples demonstrate the use of many of the Visual Studio tools and technologies. You will find the installation files and source code for these samples on the MSDN Library disc in the \Samples\Benefits directory. These samples are fully documented in Getting Results With Visual Studio.

Contents

A Quick Reference Guide

Lower Your Microsoft Internet Explorer Security Settings When Running the Selection Site Sample

Documentation Errata

A Quick Reference Guide

The Corporate Benefits System contains many parts. The following information is a quick reference for locating and installing the files for the client applications and controls. You should read the related articles in Getting Results With Visual Studio before using any of these sample files.

The Selection Site

The Selection Site files are located on the MSDN Library disc in the following directory:

\Samples\Benefits\Clients\Selsite

To install this Web site, carefully follow the installation instructions in the "Installing the Selection Site" article.

The Visual Basic Client

The Visual Basic client application files are located on the MSDN Library disc in the following directory:

\Samples\Benefits\clients\vbclient

To install this client, run setup from the \Samples\Benefits\clients\vbclient\install directory.

To run this client, select Benefits (Local VB) from the Corporate Benefits program group.

The ActiveX Document Client

The ActiveX Document client files are located on the MSDN Library disc in the following directory:

\Samples\Benefits\clients\vbxdoc

To install this client, run setup from the \Samples\Benefits\clients\vbxdoc\install directory.

To run this client, start InterNet Explorer and specify the path of the installed benxdoc.vbd file as the address to find.

The Chart Control

The Chart control files are located on the MSDN Library disc in the following directory:

\Samples\Benefits\controls\chart

To install the project files, copy the contents of \Samples\Benefits\controls\chart\src directory to your hard disk. You can view the project files within Visual Basic by specifying the path to the benchart.vbp file.

The Chart3D Control

The Chart3D control project files are located on the MSDN Library disc in the following directory:

\Samples\Benefits\controls\chart3d

To install the files, copy the contents of \src folder lto your hard disk. You can view the project files within Visual Basic by specifying the path to the benchart3d.vbp file.

The SideBar Control

The SideBar control project files are located on the MSDN Library disc in the following directory:

\Samples\Benefits\componts\sidebar

To install the project files, copy the contents of src folder located in the chart directory to your hard disk. You can view the project files within Visual Basic by specifying the path to the sbarvb.vbp file.

The Spinbutton Controls

The spinbutton control has project files for two implementations: one using the MFC library and the other using Visual Basic. The project files are contained in separate folders in the the following directory:

\Samples\Benefits\componts\spinctl

To install the Visual Basic project files, copy the contents of the spinctl\spinvb\src folder to your hard disk. You can view the project files within Visual Basic by specifying the path to the spinvb.vbp file.

To install the MFC project files, copy the contents the spinctl\spinmfc\src folder to your hard disk. To view the project files using Visual Studio, choose File Open and specify the path to these project files on your hard disk.

Lower Your Microsoft Internet Explorer Security Settings When Running the Selection Site Sample

The Selection Site Web application contains controls that have not been digitally signed. They were not signed so that you can modify the sample code. For this reason, to view the controls from Microsoft Internet Explorer set your Safety Level security setting to Medium or None.

Documentation Errata

The following information refers to articles in the Getting Results With Visual Studio book. In all cases, this document and the content on the MSDN Library disc is more up-to-date than the printed book.

MSDN Library Disc Name

The articles in this book sometimes refer to the MSDN Library disc as "Visual Studio Disc 2" or "Visual Studio MSDN Library disc 1". In all instances these names refer to the same CD; the MSDN Library disc.

Corrections to the "Overview of the Corporate Benefits System" Article

The following directory paths refered to in this article have changed. In all cases, these directories are located on the MSDN Library disc.

The article refers to New location
\Samples\Benefits\Clients\HR \Samples\Benefits\Clients\VBClient
\Samples\Benefits\Componts\chart3d \Samples\Benefits\Controls\chart3d
\Samples\Benefits\Componts\SpinMFC \Samples\Benefits\Controls\spinctl\SpinMFC
\Samples\Benefits\Servers\HR\ \Samples\Benefits\Servers\

Corrections to the "Using the Development Project" Article The first sentence in the section "Where to Go from Here" currently reads:

     To open an .asp, .java, .cpp, or other source file

It should read:

     To open a source file in the project